Skip to content

fix: exclude channel 76 from default CS channel_map (Core Spec 6.0 compliance)#950

Merged
zxzxwu merged 1 commit into
google:mainfrom
dcaayushd:fix/cs-channel-map-excludes-channel-76
Jul 8, 2026
Merged

fix: exclude channel 76 from default CS channel_map (Core Spec 6.0 compliance)#950
zxzxwu merged 1 commit into
google:mainfrom
dcaayushd:fix/cs-channel-map-excludes-channel-76

Conversation

@dcaayushd

Copy link
Copy Markdown
Contributor

Fixes #945

the default channel_map in Device.create_cs_config() had byte 9 set
to 0x15 which enables channel 76. Core Spec 6.0 Vol 4 Part E §7.8.117
requires channels 0,1,23,24,25,76,77,78 to be excluded from the CS
Channel_Map. strict controllers (e.g. Nordic nRF54L15) correctly reject
the command with UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE_ERROR (0x11).

fix: change byte 9 from 0x15 to 0x05, keeping only channels 72 and 74
enabled in that byte. same even-numbered channel pattern, now spec-compliant.

added a test verifying the default map has no overlap with the forbidden
channel set.

@dcaayushd dcaayushd force-pushed the fix/cs-channel-map-excludes-channel-76 branch 2 times, most recently from 6b829cf to 7987166 Compare July 4, 2026 05:40
Comment thread apps/console.py Outdated
async def command(self, command):
try:
(keyword, *params) = command.strip().split(' ')
keyword, *params = command.strip().split(' ')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not format other files.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@dcaayushd dcaayushd force-pushed the fix/cs-channel-map-excludes-channel-76 branch from 7987166 to 6fd08b7 Compare July 6, 2026 13:39
@zxzxwu zxzxwu merged commit 1d26b99 into google:main Jul 8, 2026
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default channel_map in Device.create_cs_config enables channel 76, which the CS spec requires to be excluded

2 participants